package change;

import method.PaymentMethod;
import method.imp.DirectMethod;
import transaction.Transaction;

public class ChangeDirectMethodTransaction extends ChangeMethod {
    private DirectMethod directMethod;

    public ChangeDirectMethodTransaction(int empId, String bank, String account) {
        super(empId);
        directMethod = new DirectMethod(bank, account);
    }

    @Override
    public PaymentMethod getPaymentMethod() {
        return directMethod;
    }
}
